github.com/google/go-cmp/cmp.formatOptions.WithTypeMode (method)

17 uses

	github.com/google/go-cmp/cmp (current package)
		report_compare.go#L60: func (opts formatOptions) WithTypeMode(t typeMode) formatOptions {
		report_compare.go#L139: 			outx := opts.WithTypeMode(elideType).FormatValue(v.ValueX, parentKind, ptrs)
		report_compare.go#L140: 			outy := opts.WithTypeMode(elideType).FormatValue(v.ValueY, parentKind, ptrs)
		report_compare.go#L142: 				opts2 := verbosityPreset(opts, i).WithTypeMode(elideType)
		report_compare.go#L152: 			return opts.WithTypeMode(emitType).FormatType(v.Type, list)
		report_compare.go#L171: 		out := opts.WithTypeMode(emitType).FormatDiff(v.Value, ptrs)
		report_compare.go#L196: 			out = opts.WithTypeMode(emitType).FormatDiff(v.Value, ptrs)
		report_compare.go#L211: 		opts = opts.WithTypeMode(autoType)
		report_compare.go#L215: 		opts = opts.WithTypeMode(elideType)
		report_compare.go#L219: 		opts = opts.WithTypeMode(elideType)
		report_reflect.go#L205: 			s := opts.WithTypeMode(autoType).FormatValue(vv, t.Kind(), ptrs)
		report_reflect.go#L238: 			s := opts.WithTypeMode(elideType).FormatValue(v.Index(i), t.Kind(), ptrs)
		report_reflect.go#L272: 			sv := opts.WithTypeMode(elideType).FormatValue(v.MapIndex(k), t.Kind(), ptrs)
		report_reflect.go#L308: 		return opts.WithTypeMode(emitType).FormatValue(v.Elem(), t.Kind(), ptrs)
		report_slices.go#L96: 		opts = opts.WithTypeMode(emitType)
		report_slices.go#L244: 				opts = opts.WithTypeMode(emitType)
		report_slices.go#L326: 			opts = opts.WithTypeMode(emitType)